package L1;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class _035 {
    /**
     * 情人节
     */
    public static void main(String[] args) throws IOException {
        Scanner scanner = new Scanner(System.in);
        List<String> list = new ArrayList<>();
        String flag = scanner.next();
        while (!flag.equals(".")){
            list.add(flag);
            flag = scanner.next();
        }
        if (list.size()>=14){
            System.out.println(list.get(1)+" and "+ list.get(13)+" are inviting you to dinner...");
        }else {
            if (list.size()>=2){
                System.out.println(list.get(1)+" is the only one for you...");
            }else {
                System.out.println("Momo... No one is for you ...");
            }
        }
    }
}
